package com.starbaba.loanbusiness.service;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

import com.starbaba.core.web.page.PageResponse;
import com.starbaba.loanbusiness.model.LoanBusinessModel;

public interface LoanBusinessService {

	/**
	 * 查询列表
	 * 
	 * @param iDisplayStart
	 * @param iDisplayLength
	 * @param pageResponse
	 * @param paramsMap
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public List<?> getDataList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap);

	/**
	 * 查询列表（周模式）
	 * 
	 * @param iDisplayStart
	 * @param iDisplayLength
	 * @param pageResponse
	 * @param paramsMap
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public List<LoanBusinessModel> getWeekDataList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap) throws ParseException;

	/**
	 * 查询列表（月模式）
	 * 
	 * @param iDisplayStart
	 * @param iDisplayLength
	 * @param pageResponse
	 * @param paramsMap
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public List<LoanBusinessModel> getMonthDataList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap) throws ParseException;
    
	/**
	 * 导出List列表
	 * @param list
	 * @return
	 */
	public String exportLoanDataList(List<LoanBusinessModel> list);
}
